//
//@File    :	5.3_express.cpp
//@Time    :	2021/08/04 17:50:57
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	values od espressions
//

#include <iostream>

using namespace std;
int main()
{
    int x;

    cout<<"The espression x = 100 has the value ";
    cout<<(x=100)<<endl;
    cout<<"Now x = "<<x<<endl;
    cout<<"The espression x<3 has the value ";
    cout<<(x<3)<<endl;
    cout<<"The espression x>3 has the value ";
    cout<<(x>3)<<endl;    
    cout.setf(ios_base::boolalpha);
    cout<<"The espression x<3 has the value ";
    cout<<(x<3)<<endl;
    cout<<"The espression x>3 has the value ";
    cout<<(x>3)<<endl;
    system("pause");
    return 0;
}